<?php 
/*
 * Copyright (c) Taras Kudla, 2010
 */
require_once("../kernel/init.php");
$Gepard->set("viewmodel","admin");
//$Gepard->set("runfile","admin/index");
$Gepard->set("routermap","[f].php?[m]&[a]&[p]");
$Gepard->set("accesslevel",_FUNC_ADMIN);
$Gepard->set("apifile","admin/api.php");
$Gepard->signal(_SIG_INIT);
if( $Gepard->user->getusergroup()!=_GROUP_ADMIN){
	header("location:enter.php");
}
$Gepard->base->eventListener();
echo $Gepard->view->LoadViewModel();
?>